import uvicorn
from app.core import create_app
from config import get_config

# 容器运行入口
app = create_app() 

if __name__ == '__main__':
    settings = get_config()
    uvicorn.run(
        'main:app', 
        host = settings.HOST, 
        port = settings.PORT, 
        reload = settings.RELOAD
    )
